#ifndef _CONFIG_H // 防止重复包含
#define _CONFIG_H

#define ITEM_CFG_MAX_NUM 30
#define CONFIG_FILE "/dev/test_gui/gui.conf"

typedef struct ItemCfg{
    int index;
    char name[100];
    int bCanBeTouch;
    char Command[100];
}ItemCfg,*PItemCfg;

int CountConfigNums(void);
PItemCfg GetConfigByIndex(int index);
PItemCfg GetConfigByName(char *name);

int PraseConfigFile (void);


#endif